<!DOCTYPE html>
<html lang="en" xmlns:v-text="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="http://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
    <h1>v-for</h1>
    <ul>
        <li v-for="user,index in users">
            {{index+1}}--{{user.name}}--{{user.age}}
        </li>
    </ul>
</div>

<script type="text/javascript">
    var app = new Vue({
        el:"#app",
        data:{
          users:[{"name":"java","age":1},{"name":"php","age":1},{"name":"ruby","age":1}],
        }
    });
</script>

</body>
</html>